package com.sport.po;

import java.sql.Timestamp;

import javax.validation.constraints.Size;

public class Course {
	
	private int id;
	
	private String cname;
	private String scount;
	private Timestamp create_time;
	private Timestamp end_time;
	private int mid;
	private String image;
	private double price;
	private double discount;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getScount() {
		return scount;
	}
	public void setScount(String scount) {
		this.scount = scount;
	}
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
	public Timestamp getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Timestamp end_time) {
		this.end_time = end_time;
	}
	public int getMid() {
		return mid;
	}
	public void setMid(int mid) {
		this.mid = mid;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getDiscount() {
		return discount;
	}
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	@Override
	public String toString() {
		return "course [id=" + id + ", cname=" + cname + ", scount=" + scount
				+ ", create_time=" + create_time + ", end_time=" + end_time
				+ ", mid=" + mid + ", image=" + image + ", price=" + price
				+ ", discount=" + discount + "]";
	}
	
}
